package com.liang.paul.officelite.holders;

import android.widget.TextView;

/**
 * Created by paulliang on 16/5/30.
 */
public class TaskHolder {
    TextView name, start, stop;

    public TaskHolder(TextView name, TextView start, TextView stop) {
        this.name = name;
        this.start = start;
        this.stop = stop;
    }

    public void setName(String nameString) {
        name.setText(nameString);
    }

    public void setStart(String startString) {
        start.setText("创建: " + startString);
    }

    public void setStop(String stopString) {
        stop.setText("终止: " + stopString);
    }
}
